# -*- coding: utf-8 -*-
# @Time: 2022/4/29 13:45
# @Author: 发抖的小喵喵
# @Email: panyi_20210601@163.com
# @File: 查询潮豆兑换率.py
# @Project: haixin
# @Software: PyCharm


from test_case.haixin.Method.Post import post_method


def get_rate():
    """
    查询潮豆和人民币兑换比例
    :return:
    """
    url = "https://api-test.shwoody.com/V2/ma/chiobeansOrder/rate"

    data = {
        "shopId": "147"
    }

    response = post_method(data, url)
    print(response)


if __name__ == "__main__":
    get_rate()
